package cn.yuanqiao.cqbc.dataManage.mapper;
/**
 * @author 赵常飞
 * @date 2024/6/13 15:51
 */

import cn.yuanqiao.cqbc.dataManage.domain.DataManage;
import com.alibaba.fastjson2.JSONObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *@Author: 赵常飞
 *@Date: 2024/6/13 15:51
 *@Description:
 *@Note:
 */

public interface DataManageMapper {
    public List<DataManage> selectList(@Param("dataManage") DataManage dataManage);

    DataManage getDataManagebyId(@Param("id") Long id);

    int update(@Param("dataManage") DataManage dataManage);

    int updatedatable(@Param("id")Long id,@Param("memorypool") String memorypool);

    int insert(@Param("dataManage")DataManage dataManage);

    Long finddatabybiaoshi(@Param("biaoshi")String biaoshi);

    int deletedata(@Param("biaoshi")Long hadid,@Param("tenantCode")String tenantCode);

    Map<String,String> getfondsbycategoryId(@Param("categoryId")Long categoryId, @Param("tableName") String tableName);
}
